<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ include file="../common/header.jsp"%>

<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=${AK}"></script>
<style>
    <%--百度地图取消显示logo--%>
    .BMap_cpyCtrl {display: none;}
    .anchorBL {display: none;}
    <%--信息样式--%>
    .kv-item label {width: 110px}
    .kv-item-content {line-height: 30px;border-bottom: 1px solid rgba(128,128,128,0.6);max-width: calc(90%)}
    .buttons .layui-btn{margin-bottom: 25px}
    .subfiled h2{cursor: pointer}
</style>

<div id="saper-container">
    <div id="saper-bd">
        <div class="subfiled clearfix">
            <h2>${titleName}</h2>
        </div>
        <div class="subfiled-content">
            <div class="saper-form">
                <div class="kv-item clearfix">
                    <label>上报方式：</label>
                    <div class="kv-item-content">${format.event.eventSrcname}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案件大类：</label>
                    <div class="kv-item-content">${format.event.eventTypeBig}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案件小类：</label>
                    <div class="kv-item-content">${format.event.eventTypeTwo}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案发地址：</label>
                    <div class="kv-item-content">${format.event.province}&nbsp;${format.event.city}&nbsp;${format.event.county}
                        &nbsp;${format.event.town}&nbsp;${format.event.village}&nbsp;${format.event.address}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>处理单位：</label>
                    <div class="kv-item-content">${format.event.disposedepariName}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案件接手人员：</label>
                    <div class="kv-item-content">${format.event.passhuman}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>中转人员记录：</label>
                    <div class="kv-item-content">${format.event.passuntt}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>首次接线人员：</label>
                    <div class="kv-item-content">${format.event.firstOperaterName}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>当时的值班长：</label>
                    <div class="kv-item-content">${format.event.instHumanName}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案件性质：</label>
                    <div class="kv-item-content">${format.event.eventNature}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>资料数量：</label>
                    <div class="kv-item-content">${format.event.filenum}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>上报者：</label>
                    <div class="kv-item-content">${format.event.reportHumanName}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案件结论：</label>
                    <div class="kv-item-content">${format.event.comment}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案发时间：</label>
                    <div class="kv-item-content">${format.createTimeName}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>更新时间：</label>
                    <div class="kv-item-content">${format.event.updateTime}</div>
                </div>
                <div class="kv-item clearfix">
                    <label>案件进度：</label>
                    <div class="kv-item-content">${format.scheduleName}</div>
                </div>
            </div>
        </div>
    </div>
    <div id="saper-ft"></div>
</div>

<%@ include file="../common/footer.jsp"%>

<script type="text/javascript">

    //创建地图
    var map = new BMap.Map("mapContainer",{
        minZoom : 11
    });

    // 创建地图实例
    var point = new BMap.Point(105.249268,28.304625);   // 创建点坐标
    map.centerAndZoom(point, 18);                       // 设置缩放度
    map.clearOverlays();                                // 清除地图上所有覆盖物
    map.addOverlay(new BMap.Marker(point));             // 添加标注


</script>
